package com.example.strategypattern;

/**
 * @version 1.0.0
 * @className: AbstractTravle
 * @description: 抽象策略类 Discount
 * @author: zhangjunfa
 * @date: 2022/6/10 16:37
 */
public abstract class AbstractTravle {
    private String name;
    private String vehicle;

    public AbstractTravle() {
    }

    public AbstractTravle(String name, String vehicle) {
        this.name = name;
        this.vehicle = vehicle;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVehicle() {
        return vehicle;
    }

    public void setVehicle(String vehicle) {
        this.vehicle = vehicle;
    }

    public abstract void travelTool();
}
